package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 学生报名信息
 * 数据库通用操作实体类（普通增删改查）
 *
 * @author
 * @email
 * @date 2024-03-01 11:30:27
 */
@TableName("xueshengbaomingxinxi")
public class XueshengbaomingxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public XueshengbaomingxinxiEntity() {

	}

	public XueshengbaomingxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 活动名称
     */
    private String designation;

    /**
     * 活动类型
     */

    private String yundongmingcheng;

    /**
     * 图片
     */

    private String tupian;

    /**
     * 比赛时间
     */

    private String bisaishijian;

    /**
     * 参赛地点
     */

    private String cansaididian;

    /**
     * 学生账号
     */

    private String xueshengzhanghao;

    /**
     * 学生姓名
     */

    private String xueshengxingming;

    /**
     * 手机号
     */

    private String shoujihao;

    /**
     * 报名时间
     */

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date baomingshijian;

    /**
     * 跨表用户id
     */

    private Long crossuserid;

    /**
     * 跨表主键id
     */

    private Long crossrefid;


    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date addtime;

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    /**
     * 设置：活动类型
     */
    public void setYundongmingcheng(String yundongmingcheng) {
        this.yundongmingcheng = yundongmingcheng;
    }

    /**
     * 获取：活动类型
     */
    public String getYundongmingcheng() {
        return yundongmingcheng;
    }

    /**
     * 设置：图片
     */
    public void setTupian(String tupian) {
        this.tupian = tupian;
    }

    /**
     * 获取：图片
     */
    public String getTupian() {
        return tupian;
    }

    /**
     * 设置：比赛时间
     */
    public void setBisaishijian(String bisaishijian) {
        this.bisaishijian = bisaishijian;
    }

    /**
     * 获取：比赛时间
     */
    public String getBisaishijian() {
        return bisaishijian;
    }

    /**
     * 设置：参赛地点
     */
    public void setCansaididian(String cansaididian) {
        this.cansaididian = cansaididian;
    }

    /**
     * 获取：参赛地点
     */
    public String getCansaididian() {
        return cansaididian;
    }

    /**
     * 设置：学生账号
     */
    public void setXueshengzhanghao(String xueshengzhanghao) {
        this.xueshengzhanghao = xueshengzhanghao;
    }

    /**
     * 获取：学生账号
     */
    public String getXueshengzhanghao() {
        return xueshengzhanghao;
    }

    /**
     * 设置：学生姓名
     */
    public void setXueshengxingming(String xueshengxingming) {
        this.xueshengxingming = xueshengxingming;
    }

    /**
     * 获取：学生姓名
     */
    public String getXueshengxingming() {
        return xueshengxingming;
    }

    /**
     * 设置：手机号
     */
    public void setShoujihao(String shoujihao) {
        this.shoujihao = shoujihao;
    }

    /**
     * 获取：手机号
     */
    public String getShoujihao() {
        return shoujihao;
    }

    /**
     * 设置：报名时间
     */
    public void setBaomingshijian(Date baomingshijian) {
        this.baomingshijian = baomingshijian;
    }

    /**
     * 获取：报名时间
     */
    public Date getBaomingshijian() {
        return baomingshijian;
    }

    /**
     * 设置：跨表用户id
     */
    public void setCrossuserid(Long crossuserid) {
        this.crossuserid = crossuserid;
    }

    /**
     * 获取：跨表用户id
     */
    public Long getCrossuserid() {
        return crossuserid;
    }

    /**
     * 设置：跨表主键id
     */
    public void setCrossrefid(Long crossrefid) {
        this.crossrefid = crossrefid;
    }

    /**
     * 获取：跨表主键id
     */
    public Long getCrossrefid() {
        return crossrefid;
    }

}
